package com.qxzn.app.bean;

import java.util.List;

public class MedicineCaseDetailBean {
    /**
     * code : 200
     * msg : 查询成功
     * data : {"id":25,"username":"hsq1","time":1559029798719,"content":"就是集体照","prescription":"","druginformation":"","casename":"看上去人生就是","remarks":"","title":"","device_id":"9ac019acab486ad7db721f2b6f1b94a8","age":1,"niname":"undefi","pictures":[{"id":23,"url":"img/medical/case/1559029798843310c5fc0-811d-11e9-b593-1d0689c1b6a3.jpg","case_id":25},{"id":24,"url":"img/medical/case/1559029798842310c11a0-811d-11e9-b593-1d0689c1b6a3.jpg","case_id":25},{"id":25,"url":"img/medical/case/1559029798844310c5fc1-811d-11e9-b593-1d0689c1b6a3.jpg","case_id":25}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 25
         * username : hsq1
         * time : 1559029798719
         * content : 就是集体照
         * prescription :
         * druginformation :
         * casename : 看上去人生就是
         * remarks :
         * title :
         * device_id : 9ac019acab486ad7db721f2b6f1b94a8
         * age : 1
         * niname : undefi
         * pictures : [{"id":23,"url":"img/medical/case/1559029798843310c5fc0-811d-11e9-b593-1d0689c1b6a3.jpg","case_id":25},{"id":24,"url":"img/medical/case/1559029798842310c11a0-811d-11e9-b593-1d0689c1b6a3.jpg","case_id":25},{"id":25,"url":"img/medical/case/1559029798844310c5fc1-811d-11e9-b593-1d0689c1b6a3.jpg","case_id":25}]
         */

        private String id;
        private String username;
        private String headportrait;
        private long time;
        private String content;
        private String prescription;
        private String druginformation;
        private String casename;
        private String remarks;
        private String title;
        private String device_id;
        private int age;
        private String niname;
        private List<PicturesBean> pictures;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getPrescription() {
            return prescription;
        }

        public void setPrescription(String prescription) {
            this.prescription = prescription;
        }

        public String getDruginformation() {
            return druginformation;
        }

        public void setDruginformation(String druginformation) {
            this.druginformation = druginformation;
        }

        public String getCasename() {
            return casename;
        }

        public void setCasename(String casename) {
            this.casename = casename;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDevice_id() {
            return device_id;
        }

        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getNiname() {
            return niname;
        }

        public void setNiname(String niname) {
            this.niname = niname;
        }

        public List<PicturesBean> getPictures() {
            return pictures;
        }

        public void setPictures(List<PicturesBean> pictures) {
            this.pictures = pictures;
        }

        public String getHeadportrait() {
            return headportrait;
        }

        public void setHeadportrait(String headportrait) {
            this.headportrait = headportrait;
        }

        public static class PicturesBean {
            /**
             * id : 23
             * url : img/medical/case/1559029798843310c5fc0-811d-11e9-b593-1d0689c1b6a3.jpg
             * case_id : 25
             */

            private String id;
            private String url;
            private String case_id;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getCase_id() {
                return case_id;
            }

            public void setCase_id(String case_id) {
                this.case_id = case_id;
            }
        }
    }
}
